import { IsOptional } from 'class-validator';
import { IntersectionType } from '@nestjs/mapped-types';
import { PageSize } from '../../dto/all-dto';
import { Type } from 'class-transformer';

export class FindSpecDto extends IntersectionType(PageSize){
  @IsOptional()
  name: string;
}